#ifndef DATEHELPER_H
#define DATEHELPER_H

#include <QObject>
#include <QDateTime>
#include <QString>

class DateHelper : public QObject
{
    Q_OBJECT
    
public:
    explicit DateHelper(QObject *parent = nullptr);
    
    // Q_INVOKABLE 使方法可以在 QML 中调用
    Q_INVOKABLE QString getWeekDay();
    Q_INVOKABLE QString getWeekDayEnglish();
    Q_INVOKABLE int getWeekDayNumber();
    
signals:
    
public slots:
};

#endif // DATEHELPER_H

